﻿<div class="row">
    <div class="toolbar">
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.InsertPermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="add()">
                <i class="fa fa-plus fa-fw"></i> Thêm mới
            </button>
        }
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.InsertPermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="save()">
                <i class="fa fa-floppy-o fa-fw"></i> Lưu
            </button>            
        }        
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.BackEnable))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="back()">
                <i class="fa fa-chevron-circle-left fa-fw"></i> Trở lại
            </button>
        }
    </div>
</div>